ci(docker): use prebuilt Rust binaries by default#1027
Merged
Conversation
16ffce8 to
7d13a8f
Compare
Flip Docker image builds to consume staged native Rust artifacts, remove in-Docker Rust build stages, and publish per-arch images with a manifest merge. Add local staging support for prebuilt gateway and sandbox binaries so development image builds continue to work without CI artifacts. Signed-off-by: Jonas Toelke <jtoelke@nvidia.com>
7d13a8f to
28c3c60
Compare
pimlock
reviewed
Apr 29, 2026
|
🌿 Preview your docs: https://nvidia-preview-pr-1027.docs.buildwithfern.com/openshell |
pimlock
approved these changes
Apr 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Flip OS-49 Phase 4 Docker image builds to consume native Rust binaries as the default path. Docker now packages staged
openshell-gateway/openshell-sandboxartifacts instead of compiling Rust insideDockerfile.images.Related Issue
https://linear.app/nvidia/issue/OS-49/migrate-github-runners-to-a-supported-solution
Changes
shadow-rust-native-build.ymlto a reusable per-component, per-arch native Rust artifact workflow.docker-build.ymlinto a per-arch shared-runner build matrix with local Buildx and a multi-arch manifest merge.deploy/docker/Dockerfile.images.tasks/scripts/stage-prebuilt-binaries.shso local Docker builds stage native gateway/sandbox binaries automatically.docker-build-image.sh.Testing
mise run pre-commitpassesRUSTC_WRAPPER= DOCKER_PLATFORM=linux/amd64 tasks/scripts/docker-build-image.sh gatewayRUSTC_WRAPPER= DOCKER_PLATFORM=linux/amd64 tasks/scripts/docker-build-image.sh clusterdocker-build.yml,shadow-rust-native-build.yml, andshadow-docker-build.ymlgit diff --checkmise run pre-commitNote: two default parallel
mise run pre-commitreruns hit a pre-existing/proctiming flake inopenshell-sandboxtestproxy::tests::resolve_process_identity_denies_fork_exec_shared_socket_ambiguity. The same test passed when rerun directly, and final pre-commit passed withRUST_TEST_THREADS=1.Checklist